package com.zjxf.base.bean.po;

import com.zjxf.base.common.IdEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.time.LocalDateTime;

/**
 * 用户
 *
 * @author: create by limu
 * Date: 2019/11/12
 * Time：10:22
 */
@Setter
@Getter
@Entity
@Table(name = "ums_user")
public class UmsUser extends IdEntity {

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 角色id
     */
    private Long roleId;

    /**
     * 盐值
     */
    private String salt;

    /**
     * 到期时间
     */
    private LocalDateTime dueDateTime;

}
